﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MossmanMill.DataModel
{
    public class CpmReport
    {
        // Sensor
        public int Channel { get; private set; } //Sensor_Channel
        public string Tag { get; private set; } //Sensor_Tag
        public string Param { get; private set; } //Sensor_Param
        public string Desc { get; private set; } //Sensor_Desc

        // Rack
        public string Model { get; private set; }
        public string Address { get; private set; }

        // Slottable
        public int Position { get; protected internal set; } //Slot_Position

        // Room
        public string RoomName { get; private set; }

        public CpmReport(string tag, string param, string desc, int channel, 
                            string model, string address, int position, string roomName)
        {
            Tag = tag;
            Param = param;
            Desc = desc;
            Channel = channel;
            Model = model;
            Address = address;
            Position = position;
            RoomName = roomName;
        }
    }
}
